<template>
  <div style="padding:30px;">
    <el-alert :closable="false" title="menu 1-1" type="success">
      <router-view />
      <p>姓名：{{ $route.query.username }}</p>
      <p>性别：{{ $route.query.gender }} </p>
      <p>工作：{{ $route.query.word }}</p>
    </el-alert>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>
